﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KingerRobot.MexicoSailunMDC.SpiService;

internal interface IWcsOutputLog
{
    int UpdateWcsOutputLogById(long id);

    POWcsOutputLogs GetWcsOutputLogByTaskId(long taskId);

    int CreateWcsOutputLog(POWcsOutputLogs wcsOutputLogs);
    /// <summary>
    /// 创建或者更新出库监控日志
    /// </summary>
    /// <param name="taskId">任务id</param>
    /// <param name="taskNo">任务号</param>
    /// <returns></returns>
    int CreateOrUpdateWcsOutputLog(long taskId, int taskNo, int logType, string remark = "");
}

